projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a8082b
)
Fix gtk_widget_compute_transform
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 20 Feb 2019 00:29:56 +0000
(19:29 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 20 Feb 2019 00:31:16 +0000
(19:31 -0500)
We were collecting all the transforms from widget
up to ancestor, and then trying to collect the
ones from target to ancestor, but failing.
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index f22581d0ab838471680cfc00f831388de4a1aee7..fb376adea29db28ed754d2b5d5b4e405782c41a1 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-11283,7
+11283,7
@@
gtk_widget_compute_transform (GtkWidget *widget,
graphene_matrix_t inv;
graphene_matrix_init_identity (&down_transform);
-
+ parent = target;
while (parent != ancestor)
{
graphene_matrix_multiply (&down_transform, &parent->priv->transform, &down_transform);